//
//  KWallProfileMessageCell.m
//  Keping
//
//  Created by apple on 2017/12/12.
//  Copyright © 2017年 柯平. All rights reserved.
//

#import "KWallProfileMessageCell.h"

@interface KWallProfileMessageCell()

@end

@implementation KWallProfileMessageCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (IBAction)actionForSwitch:(id)sender {
    UISwitch *witch = sender;
    witch.on = [witch isOn];
    if (self.delegate && [self.delegate respondsToSelector:@selector(wallProfileMessageForBlock:)]) {
        [self.delegate wallProfileMessageForBlock:witch.isOn];
    }
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
